package com.wenwu.dao;

import com.wenwu.common.bean.RelicsYear;
import com.wenwu.common.bean.RelicsYearExample;

import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface RelicsYearMapper  extends Dao {
    int countByExample(RelicsYearExample example);

    int deleteByExample(RelicsYearExample example);

    int deleteByPrimaryKey(Integer yearId);

    int insert(RelicsYear record);

    int insertSelective(RelicsYear record);

    List<RelicsYear> selectByExample(RelicsYearExample example);

    RelicsYear selectByPrimaryKey(Integer yearId);

    int updateByExampleSelective(@Param("record") RelicsYear record, @Param("example") RelicsYearExample example);

    int updateByExample(@Param("record") RelicsYear record, @Param("example") RelicsYearExample example);

    int updateByPrimaryKeySelective(RelicsYear record);

    int updateByPrimaryKey(RelicsYear record);
}